﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace BaiTu.Framework.Exceptions
{ 
    /// <summary>
    /// 框架抛出的异常信息基类  不会影响程序的稳定性
    /// </summary>
    public class BaiTuCoreException : Exception 
    {
        public BaiTuCoreException() { }

        public BaiTuCoreException(string message) : base(message) { }

        public BaiTuCoreException(string messageFormat, params object[] args)
            : base(string.Format(messageFormat, args))
        { }
        public BaiTuCoreException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        { }

        public BaiTuCoreException(string message, Exception ex)
            : base(message, ex)
        { }

    }
}
